package com.zero.builder.director;

import com.zero.builder.builder.GundamBuilder;
import com.zero.builder.product.Gundam;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public class GundamDirector {
    private GundamBuilder gundamBuilder;
    public Gundam construct(){
        gundamBuilder.buildFrame();
        gundamBuilder.buildWing();
        gundamBuilder.buildWeapon();
        return gundamBuilder.getGundam();
    }
}
